#!/usr/bin/env python
# -*- coding:utf-8 -*-
import hashlib


def md5(data):
    """
    md5加密
    :param data:
    :return:
    """
    hash = hashlib.md5(b'iufkajdflkufkwljytweld')
    hash.update(data.encode('utf-8'))
    return hash.hexdigest()
